fixup for couchbase patch