node type decison _workaround_