fix proximity sensor value range