finally fix smoothing