fix window smoothing 2