fixing a route order issue