fixed bug with Animation parsing.