fix connection options