don't add identity for recursive leafs