remove unwanted part of the doc