still idb problems, need to wait until idb init is finished!