remove excess vars