[*] Error when delete links

Using the wrong variable