delete the report_cb function