fixing add/edit forms