fixed save map with layers not in layerswitcher