fixing normalized tf idf weight