debugging mainly suval and some tablescan