remove obsolete vars