fixed pouchdb