fixes #321 - Chapter extraction (again)