Fix getConnector method