add defaults_constraints in the route