fixed a bug with animation duration