Fix route issue reported by @Marc-pi in #1128