fix animation demo