fix getControllerByPath