Fixed getTextById - now it works!