fixed ordering of connection id