removed IndexedDB dependency