refine document comments