fixed label generation