links from both tables to relative