rm ref to PouchDB