make map loading only when reached the map
Prevent map reload