fix wrapped class