fix generated class name
fix loading generated classes