fixed connect/url opts not being passed around