delete animator when error happened