fix motor control system