fix bug in work-exam