simplify route & getControllerLegacy