Corrected error in handling right motors