indexeddb minor fix