fix missing unset_session_var