removes unused content