Fix of chapter 6

Fix of chapter 6