fix animation code
Merge remote-tracking branch 'origin/version_2' into version_2