fixed indexed db communication

(fixed blocker with db access)