replaced a getLabels with getLabel