fix label_data script