updated device connector to address issues with serial port connections