don't calculate if tf or idf is 0