Correcting subheading and heading code