fix bundled map replacement stuff