fix sqlite delete