fixing XML serialization.