getting links correct