cleanup of the dataset