fixes to ranking table