fixed agent die() bug with links
Merge pull request #51 from backspaces/bugfix

fixed agent die() bug with links