fixed problem with empty data showing when student not selected