swith from deprecated method parse() to text()