avoid referencing XML element text when no data in XML element, thus preventing crashes