Removed multicolumn detection code