Removed unnecessary main and html sections in history