null check the animation