modify bug chapter 3