fix edit works