proximity sensor test fix