fixed self declaration for a leaf function