fix connection