bug fix of ranking.