close #1, fix parenting bug in recursive calls
1.2.6