fixed issue when advancing chapter