resolved Mac and Linux serial parity bug