check and repair stub method added to indexeddb