change visibility to public of tx.GetTree