Fixed some linter errors in routing