fixed typos in chapter 5