fix sqlite3 issue