fixed sqlite_init fxn