corrections to column processing logic