Can someone help me solve this motor control issue