fixed contour class