debugging db::tables(), db::table_exists