bracket bug fix in checkSensor()