Fixing formatting of ranks