fixed problems with map view on startup