Fix undeclared variable

Fixed undeclared variable.
It raised `global name 'routing' is not defined`