fix timestep