fix typo in tf-idf formula