removed $path arg from routefactory