Fix clear environment variable