fix iteration loop to stop after reading the last column instead of before
fix iteration loop to stop after reading the last column instead of before

glennhickey/hal,glennhickey/hal,glennhickey/hal,glennhickey/hal,glennhickey/hal,glennhickey/hal,glennhickey/hal,glennhickey/hal