Improved IP fetching