Fix bug where @print_table was printing unnecessary carriage returns