fixed the constant for the proximity sensor