clear unused styles and images