fix code

fix bug animation