fixed smoothing hopefully