fixing unicode bug in NLP