auto switch map if the search result is not in current runtime map