bug fixing for B2BConnector