fix the document date