workaround for bug in Couchbase Client 2.0