fixed out of index bug in readcols