fix db for Chrome Apps