fixed small issue with animations