Use path variables instead of requirements

It is not required that every path argument has a requirement, therefor the previous solution didn't work correctly