bug fixes to sumbot