Table tools print function fixed