fixed a serious error in match-columns; not sure when it got in there.