fix a summary of document file