fix addConnection serverType