added a killswitch, hotfix for multiple-publishers crash