fix Client when option passed to open or init isn't an object