fixed data context on edit form to the conventional way