modified sqlite_util