Fixed a bug in IP addresses