fixed formatting of ranking attribute