tweak leaderboard code for home page and dashboard