fix the connector.py example