environments fix