fix SQLite speed loading issues