Clean up main index.