attempt to cleanup env