review fixes for chapter 6