fix tree interface