fixed tf idf normalization