bug fix for showing route name on widget