fixed animation iteration count