fixing broken textcontent rule