fixed no map on initial page load