revert linereader change
cleanup