Revert "attempt 2 at sqlite fix"

This reverts commit a0ec961f6c04f20838a5d2a339c52f1277e63a73.