clear diags after completion