minor improvement for reading lines, it was failing for me on our mac minis