fix for an array fo children