remove the unwanted ones