updated references to RecordError