couchdb fix