fix exams bug