fixed isleafmethod is now part of code issues