clean unneeded variables