fixed scoreboard bug