Added quickfix for regulatedmotor