fixed adding student in different classes