cleanup env.