fix parentHeading/firstChild mappings