fix animationbug