finish the last interactions+indexedDB