corrected diagnostics