with_clean_env