fix animation bug after the game