clean the dataset