clean config classes