remove unwanted data