fixed issue with inconsistant animation output