fix: prevent crash when `setRoute` don't need arguments