set empty location strings to NULL for O(1) locationless detection