improve UX + tree debug