To avoid an error if the link element is not detected.