fix edit command