Fix the IP conversion to string