fix add connection