minor fix in env_collector