remove some of the unwanted sections