Changing generated label to span.label