Make sure childNodes are defined