Bugs fixed (SerialPort)