// improved link plugin