bug of tfidf scheme found and fixed