fix showAnimation bug