fixed record destruction