NER tools bug fix