clean up env