fixed bug in makeClassesReflectiv()