fix multicast logic to pass all needed template variables