sqlite is killing me