Attempt to fix sqlite issue