fixing EnvironmentMonitor