minor fixes for add,edit and delete of fields