corrected the problem that thread dep if statements made their parents dependent too