fix error in animation2