Fix sqlite3 issue