generate only valid links with router.