bugfix to get setMinimumSpeed working