trying to fix edit