removes unused styles