fix cxShapeType error