remove diagnostics