remove the animation function