SerialPortReader modified