remove some main headings
remove trailing spaces