Fix the input not being passed to the route handler