fixed exec_record_done