Fixed error with scoreboard