Fix for SQLite