Fix typo, and a couple of errors.