fix target_files class report_id type
add rescue to register report