changed ip to string