Prevent errors in creation of map-file.