fixing XDI syntax