Fixed destroying flags