bugfix in generate syllabus