fix tabulation bugs with TTY_COLS and issue when tabulating result with
single field