fixing leaderboard legends feature