remove excess from theme