delete flags