prepare for url route.