SQLite fix