set correct links and title