increased logging to catch invalid xml