adding fixes to the exporter to catch old errors in legacy data