fixed a minor bug in the reading of columns