removing unused pages