revert to sqlite