Cleanup For header and index pages