modify predictRanking.