refine document style