fixing class bug on view of ranking