fixed non-queued write on serial port