fixed router caching bug