fix the diagnostics output