Fixed map saving.