fix partition map issue