fix examinationlist function