fix munge_mapfile