patched with sqlite3 as core module