Fix connection init.