fixed bug in keywordsExtractor