fix a bug, but still need to tweak or normalize tf-idf and grid search for task 2; current dev ndcg is 0.834