fix receive_record save