remove the unwanted tags.