Fix error in chapter-7