remove redundant pages, clean up links to missing pages