refactor _$redirect for dispatcher
support input param for dispatcher _$redirect