fixes for wiping indexedDB