fixed map view location search script