cleanup head and meta snippets, etc.