Pass lines with ValueError