fix edit representation