fix anim bug