removes diags