fixed an animation error