dealing with location prefixes