smoothing fix