cleanup classes and settings