fix bug: add var for $link variable