fix edit file