fix bugs in AnimatedList