fixed typo
fixed record XML namespaces handling