Fix child index

*should avoid moving things around...