Fixed bug with UTF-8 words