remove map file before upgrade