Fix destroy variable