fix the document source id