make the module environment-safe (works within projects that override string env)