Just moving the link creation...

...  having after it gets what it points to make more sense,
yeah?