get document of collection