Fixed the speedFactor