removed reference to router.pause()