fix for new plugin.exec