corrected minor typos

just some minor copy-and-paste issues I stepped over while reading the book