removing all dot endings in headings