clipping timestep fix