fixed bug on field add in document/vertex