Ranking template fix