Fix label attributes.