fix getContour