marked bug in AddContour