fixed xml unmarshaling