Fix the robot occasionally throwing an error