start cleanup the doc