fix speed control