bugfixes for salesforce integration