fixed set() function problem in run()
use leftMotorPtr and rightMotorPtr to use set()