switched db to sqlite