Fixing Salesforce lead and chart plugins