fix the route bug