small tweak to trienode