clean some environment