fixed the hierarquy of headings and lists