Fixing setMapName()