fix generated class names