fix for printTable