Avoid an error if more than one ip address is available