fixes in chapter 1