added debugging for IHAC and fixed multi-parented children