add virtual destructor to DataRecord