more fix for the map file loading