improve getColumns of attributeVectors