Fix up mapgen