fixed bug with getCol not returning the right column