corrects names of classes