fixes in table-jit, and debug printfs