clean variables in processes