correct placement of export_records