Fix header class output of insert new section function