fixed a couple of typos, and references