bugfix had [] on key,value not ||
non-functioning environment analysis