polish the doc