added limit output to table.pm