more fixes to rankings layout, removed some dead code