fix chapter display bug