get correct link