Fix xdt to remove / before adding it