fix edit form/controller