Fix chapter 4 error