Fixing sqlite3