fix unstable getText()
Merge pull request #292 from rostafiychuk/master

fix unstable getText()