remove label in diagnostics