fixed the routing