made IP and ports consistent in XML