restoring link plugin