added key word "virtual" to c_data destructer