fixed adding chapter to course where students are already enrolled