first fix for removal of OC.Router.generate()