change motorval to maxtimeout in drivedistance