handle xdm address port properly