updated the mapsetting reading in MapLoader