main map refresh bug