if label is not set, use name instead label.