fix connections broken by previous patch