Change columnIndex to index.