solved sqlite problem