solved indexeddb adapter problems