add strict mode to table of contents and headline