fixed studygroup migration