removing contour