try to fix sqlite error