fix connection configuration