Task2: depth fix