normalize locations