avoid 127.0.0.1 appearing as event host

If it's not null you copy it? Why is it different than the copy you're doing before? I don't get it...