change index to *channel in pluginHost funcions