get link dependencies correct