csv exporting messages fix.