fix some typos in chapter 3