hotfix config and stats - COUCHDB-2390 COUCHDB-2343 COUCHDB-2429