moving serial port to io connection scope