remove extraneous vars