fix double studycourses