fixed issue with /leaderboard endpoint