fix typo in #9, leave -> leaf