fixing bug that occurs for certain sites when the text content options is passed but is subsequently changed by the page headers