fix animation code