fix animation class