fixed typo in animate