correct the animation