fix a couple of typos and minors