fixes to code in chapter 5