fix session variables on ad hoc thankyou