fixed the routing system