change to fixed animation.cpp