fix downloadText() function, the element we want is txt not text