Fix the bug where the last column was not processed