Fix return value for getLabel()