Fixed Leaf.py