serial port reply fix