fix typo in printtable