fix depth