Adjusts the diagnostics