midterm test fixed