fix originClass bug