fixed a couple of typos in the score generation code.