Fixed : bugs in edit form