router.refresh bugfix