fixing singularizeChildren functionality
removed unused variable
Merge pull request #11 from dweidenfeld/master

SingularizeChildren functionality fix