bug fixes - sending commands

fixed several issues with sending commands to motors