fix client xml serialization