refact detected in BranchNode

rt