changed delete flag of alerts

changed delete flag of alerts