fix up SQLite integration