fix the issue that Helpers.route is implemented improperly.
cause MatchError if unmatch