remove unwanted features