fixed typos in chapter 3, 5