Ugly IPAddress restoring.