fixed getSpeedRanges method bug
fix setRealSpeed method bug for small speeds