corrected serial port recognition