fix compilation errors due to changes in motor control
cosmetic