isNearLocation fix