fix https on xdm