fix conf and class