little changes to indexeddb

but, still not working, though