Link creation bug fix.