remove contour stuff