fixed the double url in connection dialog