fixed the routing error