check if class exists before adopting old configuration