added type check for section contour resolution