fix dodgy 3rd-party-host logic