remove double $$heading, every other reference is just $heading so
I'm assuming this is a typo?