remove extra vars