change some error and useless code of tfidf

change some error and useless code, and add just idf save method with
filters