Fix smoothing