fix animation error