fixed leaderboard calculation bug