cleaned up initialization of map for search results