fix bpm start indexeddb