Fixed bug with not correct setting the move time