fix NPE in xml record mapper