fix the route function
fix the route function