fix destroy record