added dialg box for bad serial port