corrections to the location search