rename cols->maxcols