fix unstable getText()