fix minor routing on refresh issue