Fixed the location search feature