fix for textanalysis