tab_ranking: dead code removed