main animation fix