fixed IO in ScorePanel