fixed proximity sensor always counting