unset unneeded vars