minor bug fix with Connector