check if variable exist to avoid notice that break the xrds file