fixed mixed children array detection