corrected rating to ranking