session expiration fix