fix bug in curriculums controller