fixed getConnections