clear for couchdb