Corrected serial port calling