fix animator initializing