fix a bug with deserialisation with xmlValue