Fixed bug with lineIn reads