fixed the fix for read_lines