Typo + replaced undefined variables with link_id
Merge pull request #287 from milkyway-git/patch-3

Typo + replaced undefined variables with link_id