Leaf node fix