Corrects serial port.