fix ConnectorStates callback context issue