fix renaming of Classes