cleansing the dataset