fixing lab 7