fix bug where grade does not show up when class is switched