fixes for contourlines