fix connections