fix edit activity