Added check for $routeArgs[1] to be set #26