handle bad inputs for robot