write empty line if no contours