Fix bug for Chapter 29 and 30.