fixed removeLeaf front end
Merge pull request #6 from andreqi/master

fixed removeLeaf front end