sqliteinterface working and fixed threads