fixed connect dialog