Fixes in delete doc and field group