Fix a bug in scoring

lol