fixed bug in renaming "clazz" names