fixes #150: remove newline-reading code