fixes section header hierarchy