roll back determineDocumentId() for documents