ranking.toCSV() fixed