fix typos in chapter 3