fixing broken example in getTexts