fix #animation bug