fixed a bug where all students were displayed with the same major