Cleaning up main index