debug output was resetting $route; also use $controller not 'controller'