this case can't happen anymore now that numcols is calculated
refactor