cleaning the dataset