remove unneeded styles and shrink stat text