check that we are doing tree stuff when we think we are