cleanup the dataset_data variable as well