remove some unused styles and text