fix some code
change model name from StudiedGroup to SubjectGroup, because meaning of the model is changed