fixing bug for score output
output bug