fix(naviation): js error on navigation back and log out & digest error on sub search page