Copy the IP correctly on search tab