fix proximity sensor