check for null XRD