record error fix