revert change to indexdb
reuse set_db