fix edit issue