changed sqlite_magic