lab7 fix