fix connection params problem