remove code element only headings