clean children because they might contain a null node
revert debugging changes
Merge pull request #1 from atrout/master

Fix for blank child node error