fixed printtable