"fixed" the animation script