fixed unicode bug in LabelMixin