fixed print table to not skip the last page...
...
...
:(