fix a bug: cannot extract all lectures in a chapter