Fixed curl output of ip