removes unused modindex and search from index page