better warning when children is not array.