session refresh fix