fix damping bug