field fix for document api