Fix typos in chapter 6