Fixes the router.