animate: fixed bugs.