ensure connections are set