correct Tree.js