fix edit partition error