Fix route render issue