Tree value seems to be wrong.

I’ve a tree and I added a ValueChangeListener.
When I enter the ValueChange code if I get the changed value from tree.getValue I allways get the root node if I use event.getProperty.getValue I get the correct selected value.
However I need to get the value also elsewhere and I got allways the wrokg value.
Where’s the problem ?
Tks

Nobody can help ?
Tks