Fixed the maximum speed bug.