fix chapter 6