important fix for EnvironmentLoader