fixed a stupid bug that always discarded the first child..