better children param check