fix SQLite refernces