fixed typo in XML serializer