fix transformation in labeling_data