switch to direct-sqlite