fix couchdb