fix config classes