remove the smooth part